<admintpl file="header"/>
<link rel="stylesheet" href="__PUBLIC__/css/jquery.datetimepicker.css">
<link rel="stylesheet" href="__PUBLIC__/css/wechat.css">
<link rel="stylesheet" href="__PUBLIC__/css/main.css">

<style>
    .well input,select{margin-top: 10px;}
    .well select{height: 37px;line-height: 37px}
</style>
</head>

<body>

<div class="manage">
    <span><a href="">微信推送</a></span>
</div>

<div class="act_main">

    微信推送
    <span class="tag-list">
        <a href="javascript:;" data-url="{:U('Push/index')}">推送管理</a>
    </span>

    <span class="tag-list">
        <i><a href="javascript:;" data-url="{:U('Matelist/Matelist/index')}">素材管理</a></i>
    </span>

    <span class="tag-list">
        <i><a href="javascript:;" data-url="{:U('Tags/Tags/index')}">标签列表</a></i>
    </span>

</div>

<div class="push-manger">

    <a href="javascript:;" data-url="{:U('Push/index')}">推送管理</a> >

    <span>推送详情</span>

</div>

<div class="wrap">

    <div class="push-news">

        <div class="form-horizontal Jactadd">

            <div class="control-group">
                <label class="control-label ">消息</label>
                <div class="controls">
                    <ul>
                        <foreach name="data['mate']['item']['news_item']" item="v">
                            <li><span><img src=""> </span>{$v.title}</li>
                        </foreach>
                    </ul>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">推送时间</label>

                <div class="controls">
                        <span>{$data.push.add_time|date="Y-m-d H:i:s",###}</span>
                </div>

            </div>

            <div class="control-group">
                <label class="control-label">推送状态</label>
                <div class="controls">
                        <span>发送完毕</span>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">推送范围</label>
                <div class="controls">
                    <span> <td><?php if($data['push']['push_range']==1) { ?>发送全部<?php } else { ?>{$data.push.push_range|getCityByCityName}<?php } ?></td></span>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">推送情况汇总</label>
                <div class="controls">
                    <table cellpadding="2" cellspacing="0" width="80%" align="center" id="timeDesc"
                           class="Joperate tablesorter tablesorter-blue table table-hover table-bordered table-list">
                        <thead>
                        <tr role="row" class="tablesorter-headerRow">
                            <th></th>
                            <th>标签下粉丝总数</th>
                            <th>发送成功人数</th>
                            <th>发送失败人数</th>
                        </tr>
                        </thead>
                        <tbody>

                            <tr>
                                <td><if condition="$data['push']['push_range'] eq 1">所有标签<else/>{$data.push.push_range|getCityByCityName}</if></td>
                                <td>{$data.push.total_count}</td>
                                <td>{$data.push.sent_count}</td>
                                <td>{$data.push.error_count}</td>
                            </tr>

                        </tbody>

                    </table>
                </div>
            </div>
        </div>

    </div>

</div>



<script src="__PUBLIC__/js/uploadify/jquery2.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/artDialog/artDialog.js"></script>

<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/js/wechat.js"></script>
<script src="__PUBLIC__/js/tablesorter/dist/js/jquery.tablesorter.min.js"></script>
<script src="__PUBLIC__/js/tablesorter/dist/js/jquery.tablesorter.widgets.min.js"></script>
<link rel="stylesheet" href="__PUBLIC__/js/tablesorter/dist/css/theme.default.min.css">
</body>
</html>